.class Lcom/waiqin365/lightapp/product/dj;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/product/dj;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 4

    invoke-virtual {p1}, Landroid/widget/AdapterView;->getAdapter()Landroid/widget/Adapter;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/dr;

    invoke-virtual {v0, p3}, Lcom/waiqin365/lightapp/product/dr;->a(I)Lcom/waiqin365/base/c/a;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/dj;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {v1}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->c(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)Landroid/widget/TextView;

    move-result-object v1

    iget-object v2, v0, Lcom/waiqin365/base/c/a;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/dj;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    const v2, 0x7f0802dd

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v1

    iget-object v2, v0, Lcom/waiqin365/base/c/a;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/dj;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {v1}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->c(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)Landroid/widget/TextView;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/dj;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    const v3, 0x7f080764

    invoke-virtual {v2, v3}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/product/dj;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {v1}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->c(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)Landroid/widget/TextView;

    move-result-object v1

    iget-object v0, v0, Lcom/waiqin365/base/c/a;->a:Ljava/lang/String;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dj;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->b:Lcom/waiqin365/lightapp/view/ag;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/ag;->a()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dj;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->b(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)V

    return-void

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/product/dj;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {v1}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->c(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)Landroid/widget/TextView;

    move-result-object v1

    iget-object v2, v0, Lcom/waiqin365/base/c/a;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0
.end method
